import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-test',
  templateUrl: './test.component.html',
  styleUrls: ['./test.component.css']
})
export class TestComponent implements OnInit {

  constructor() { }

  ngOnInit() {
  }

  onClick(name) {
    console.log(name);
  }

  color: string
  
  // currentClasses: {};
  // setCurrentClasses() {
  //   // CSS classes: added/removed per current state of component properties
  //   this.currentClasses = {
  //     'saveable': this.canSave,
  //     'modified': !this.isUnchanged,
  //     'special': this.isSpecial
  //   };
  // }
}
